package org.thanos.iot;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableScheduling
@EnableTransactionManagement
@SpringBootApplication(scanBasePackages = "org.thanos.iot")
public class ProjectBootstrap {

    public static void main(String[] args) {
        new SpringApplicationBuilder(ProjectBootstrap.class)
                .web(WebApplicationType.SERVLET)
                .run(args);
    }
}
